﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;
using Lswweb.Domain;
using Lswweb.Domain.ResourceConfiguration;

namespace Lswweb.Controls
{
    public class ControlBase : Control, INamingContainer
    {
        protected ResourceStrings Strings
        {
            get { return ResourceManagement.Content.Strings; }
        }

        protected SiteSettings Settings 
        {
            get { return SiteSettings.Settings; }
        }

        public new Lswweb.Domain.Page Page
        {
            get { return base.Page as Lswweb.Domain.Page; }
        }
    }
}
